<?php

/**
 * 商品属性演示数据
 */

$data = [
    ['attr_name' => '主体', 'category_id' => 1, 'children' => [
        ['attr_name' => '产品净含量', 'category_id' => 1],
        ['attr_name' => '产品标准号', 'category_id' => 1],
        ['attr_name' => '保质期', 'category_id' => 1],
        ['attr_name' => '生产许可证号', 'category_id' => 1],
    ]],
    ['attr_name' => '包装清单', 'category_id' => 1, ],
];

return ['table' => 'sw_goods_attributes', 'text' => '商品属性', 'is_tree' => true, 'truncate' => true, 'data' => $data, 'append' => ['created_at' => time(), 'updated_at' => time()],];
